﻿#ifndef FOWIDGET_H
#define FOWIDGET_H

#include <QWidget>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QKeyEvent>
#include <QtSql>
#include <QStringList>
#include <QPrinter>

#include "foadddialog.h"
#include "foeditdialog.h"
namespace Ui {
class FOwidget;
}

class FOwidget : public QWidget
{
    Q_OBJECT

public:
    explicit FOwidget(QWidget *parent = 0);
    ~FOwidget();
    static int identification;
    void FileOut();
    QString saveHtmlToPDF(QString Q);
public slots:
    void FOshow();
private slots:
    void FOshowsort(int clounm);
    void on_chkBxOutStart_clicked(bool checked);

    void on_FOadd_clicked();

    void on_chkBxOutEnd_clicked(bool checked);
    void on_FOdelete_clicked();

    void on_FOseek_clicked();

    void on_FOedit_clicked();
    void on_FOPDF_clicked();

signals:
    void sendDa(int);
private:
    Ui::FOwidget *ui;
};

#endif // FOWIDGET_H
